package com.example.chapter01;

public class Chapter07 {
    public static void main(String[] args){
        // 5位同学的成绩:
        int[] ns = { 68, 79, 91, 85, 62 };
        System.out.println(ns.length); // 5
        //System.out.println(ns[5]);
        System.out.println(ns.length);

        String[] names = {"ABC", "XYZ", "zoo"};
        String s = names[1];
        names[1] = "cat";
        System.out.println(s); // s是"XYZ"还是"cat"?
    }
}
